package com.goldplusgold.tradedelay.app.market.widget.render;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Path;
import android.util.AttributeSet;
import android.view.MotionEvent;

import com.goldplusgold.tradedelay.app.market.pojo.StickData;
import com.goldplusgold.tradedelay.app.market.widget.chartutil.LinePoint;
import com.goldplusgold.tradedelay.app.market.widget.chartview.BaseChartView;
import com.goldplusgold.tradedelay.app.market.widget.listeners.ChartDetectorInterface;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/6/29.
 */

public class ChartRender extends BaseChartView<StickData> implements ChartDetectorInterface{


    public ChartRender(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public void onDraw(Canvas canvas) {
        super.onDraw(canvas);

    }

    @Override
    public void setDatas(List<StickData> list) {
        this.datas = list;
        postInvalidate();
    }

    @Override
    protected void onShowCrossData(StickData cur, StickData pre, float x) {

    }

}
